﻿using Microsoft.AspNetCore.Mvc;

namespace Medlcalcare.MVC.Controllers
{
    /// <summary>
    /// 医院导航控制器
    /// </summary>
    public class HospitalNavigationController : Controller
    {

        public IConfiguration Configuration { get; }

        public HospitalNavigationController(IConfiguration configuration)
        {
            Configuration = configuration;
        }
        /// <summary>
        /// 显示医院导航页面
        /// </summary>
        /// <returns></returns>
        public IActionResult ShowHospitalNavigation()
        {
            ViewBag.BaseUrl = Configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        /// <summary>
        /// 编辑医院导航页面
        /// </summary>
        /// <returns></returns>
        public IActionResult UpdateHospitalNavigation()
        {
            return View();
        }
    }
}
